﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Test.Models.Interfaces;

namespace Test.Models.Base
{
    public class Element : IElement
    {
        public int          elementID   { get; set; }
        public DateTime     created     { get; set; }
        public DateTime?    modified    { get; set; }
        public DateTime?    deleted     { get; set; }
        public bool         visible     { get; set; }
        public string       name        { get; set; }

        public virtual ICollection<ElementLanguage> ElementLanguages { get; set; }

        public Element()
        {
            created = DateTime.Now;
            visible = true;
        }
    }
}